Module-level declarations
Types
Link copied to clipboard
struct module_args
Link copied to clipboard
Link copied to clipboard
entity recurring_quest
Link copied to clipboard
entity recurring_quest_group
Link copied to clipboard
struct recurring_quest_group_info
Link copied to clipboard
struct recurring_quest_info
Link copied to clipboard
struct recurring_quest_info_with_id
Link copied to clipboard
entity recurring_quest_instance
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
enum recurring_quest_type
Link copied to clipboard
object recurring_quests_config
Link copied to clipboard
entity specialization
Link copied to clipboard
struct specialization_on_plot
Functions
Link copied to clipboard
@extendable function collect_specializations_on_plot(plot_id: integer): list<specialization_on_plot>
Link copied to clipboard
Link copied to clipboard
function delete_quest_instance_and_update_timestamp(recurring_quest_instance: recurring_quest_instance?, group: recurring_quest_group, account: account, plot_id: integer)
Link copied to clipboard
Link copied to clipboard
function get_next_available_quest(group: recurring_quest_group, plot_id: integer, account: account): (quest_instance: recurring_quest, quest_struct: immutable_mirror_struct<recurring_quest>)?
Link copied to clipboard
function get_quest_with_lowest_weight(plot_id: integer, specialization: text, tier: integer): (quest_instance: recurring_quest, quest_struct: immutable_mirror_struct<recurring_quest>)?
Link copied to clipboard
function get_random_quest(account: account, plot_id: integer, specialization: text, tier: integer): (quest_instance: recurring_quest, quest_struct: immutable_mirror_struct<recurring_quest>)?
Link copied to clipboard
function get_recurring_quest_last_completed(group: recurring_quest_group, plot_id: integer, account: account): integer?
Link copied to clipboard
Link copied to clipboard
@extendable function on_recurring_quest_accept(plot_id: integer, specialization: specialization, tier: integer)
Link copied to clipboard
function shuffle(quests: list<(quest: recurring_quest, weight: integer)>, seed: integer): list<(quest: recurring_quest, weight: integer)>
Queries
Link copied to clipboard
@mount("recurring_quests.get_accepted_plot_recurring_quests")
query get_accepted_plot_recurring_quests(account_id: byte_array): list<recurring_quest_instance_info>
Link copied to clipboard
@mount("recurring_quests.get_all_accepted_plot_recurring_quests")
query get_all_accepted_plot_recurring_quests(): list<recurring_quest_instance_info>
Link copied to clipboard
@mount("recurring_quests.get_all_plot_recurring_quests")
query get_all_plot_recurring_quests(cursor: page_cursor): (data: list<recurring_quest_info_with_id>, max_rowid_covered: rowid)
Link copied to clipboard
@mount("recurring_quests.get_next_available_plot_recurring_quests")
query get_next_available_plot_recurring_quests(account_id: byte_array, plot_id: integer): list<next_available_quest_for_group>
Link copied to clipboard
@mount("recurring_quests.get_plot_recurring_quest_groups_info")
query get_plot_recurring_quest_groups_info(): list<recurring_quest_group_info>
Link copied to clipboard
@mount("recurring_quests.get_plot_recurring_quest_last_completed")
query get_plot_recurring_quest_last_completed(group_name: text, plot_id: integer, account_id: byte_array): integer?
Link copied to clipboard
@mount("recurring_quests.get_recurring_quest_configs")
query get_recurring_quest_configs(): (enabled: boolean,)
Link copied to clipboard
@mount("recurring_quests.get_recurring_quest_type")
query get_recurring_quest_type(): list<recurring_quest_type>
Operations
Link copied to clipboard
@mount("recurring_quests.accept_plot_recurring_quest")
operation accept_plot_recurring_quest(plot_id: integer, specialization_name: text, tier: integer, account_id: byte_array, auth_descriptor_id: byte_array)
Link copied to clipboard
@mount("recurring_quests.complete_plot_recurring_quest")
operation complete_plot_recurring_quest(plot_id: integer, specialization_name: text, tier: integer, account_id: byte_array, auth_descriptor_id: byte_array)
Link copied to clipboard
Link copied to clipboard
@mount("recurring_quests.delete_recurring_quest_group")
operation delete_recurring_quest_group(specialization_name: text, tier: integer)
Link copied to clipboard
@mount("recurring_quests.register_recurring_quest")
operation register_recurring_quest(recurring_quest_info: recurring_quest_info)
Link copied to clipboard
@mount("recurring_quests.register_recurring_quest_group")
operation register_recurring_quest_group(recurring_quest_group_info: recurring_quest_group_info)
Link copied to clipboard
@mount("recurring_quests.set_global_recurring_quest_parameters")
operation set_global_recurring_quest_parameters(enabled: boolean)
Link copied to clipboard
@mount("recurring_quests.skip_plot_recurring_quest")
operation skip_plot_recurring_quest(plot_id: integer, specialization_name: text, tier: integer, account_id: byte_array, auth_descriptor_id: byte_array)